package cool.mtc.swagger.model;

import io.swagger.models.auth.In;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 明河
 */
@Data
public class SwaggerSecurityScheme {

    private List<SwaggerApiKey> apiKeys = new ArrayList<>();

    private List<SwaggerHttpAuth> httpAuths = new ArrayList<>();

    @Data
    public static class SwaggerApiKey {
        private String name;
        private In in;
    }

    @Data
    public static class SwaggerHttpAuth {
        public String name;
        public String description;
        public String scheme;
        public String bearerFormat;
    }
}
